Hi all
DB ctlBox = create("test", styleFloating|styleCentered)
DBE mainFrame = frame(ctlBox , "Parameters", 650, 100)
mainFrame->"bottom"->"form"
DBE leftFrame = frame(ctlBox , "Export content",300, 20)
leftFrame->"top"->"inside"->mainFrame
leftFrame->"left"->"inside"->mainFrame
leftFrame->"bottom"->"inside"->mainFrame
DBE rightFrame = frame(ctlBox , "Export classification", 300, 20)
rightFrame->"top"->"inside"->mainFrame
rightFrame->"left"->"spaced"->leftFrame
rightFrame->"right"->"inside"->mainFrame
show ctlBox
SystemAdmin - Mon Jun 06 09:52:41 EDT 2011 |
Re: Constraint placement
Constrained placement is a black art! This does it.
DB ctlBox = create("test", styleFloating|styleCentered)
DBE mainFrame = frame(ctlBox , "Parameters", 650, 100)
mainFrame->"bottom"->"form"
DBE leftFrame = frame(ctlBox , "Export content",300, 20)
leftFrame->"top"->"inside"->mainFrame
leftFrame->"left"->"inside"->mainFrame
leftFrame->"right"->"unattached"
leftFrame->"bottom"->"inside"->mainFrame
DBE rightFrame = frame(ctlBox , "Export classification", 300, 20)
rightFrame->"top"->"inside"->mainFrame
rightFrame->"left"->"flush"->leftFrame
rightFrame->"right"->"inside"->mainFrame
rightFrame->"bottom"->"inside"->mainFrame
show ctlBox
|
Re: Constraint placement Tony_Goodman - Mon Jun 06 10:32:52 EDT 2011
Constrained placement is a black art! This does it.
DB ctlBox = create("test", styleFloating|styleCentered)
DBE mainFrame = frame(ctlBox , "Parameters", 650, 100)
mainFrame->"bottom"->"form"
DBE leftFrame = frame(ctlBox , "Export content",300, 20)
leftFrame->"top"->"inside"->mainFrame
leftFrame->"left"->"inside"->mainFrame
leftFrame->"right"->"unattached"
leftFrame->"bottom"->"inside"->mainFrame
DBE rightFrame = frame(ctlBox , "Export classification", 300, 20)
rightFrame->"top"->"inside"->mainFrame
rightFrame->"left"->"flush"->leftFrame
rightFrame->"right"->"inside"->mainFrame
rightFrame->"bottom"->"inside"->mainFrame
show ctlBox
There are some folks with sharp precise minds that can keep it all straight, I'm not one of them.
BTW, the key to the cardinal 'Sin' is to define a label with text, but then set the label to null after the dialog is realized. You can get vertical gradients by using letters and also EOL in the initial definition. |